<div class="me">
  <!--登录后的界面-->
  <div ng-if='name'>
    <img src="{{image}}" alt="我的头像">
    <div class="name" ng-bind='name'></div>
    <div class="btns">
      <button ui-sref='post'>投递</button>
      <button ui-sref='favorite'>收藏</button>
      <button class="logout" ng-click='logout()'>退出登录</button>
    </div>
  </div>
  <!--未登录的界面-->
  <div ng-hide='name'>
    <button class='login-btn' ui-sref='login'>去登录</button>
  </div>
</div>
<div app-main-foot></div>
